import { createStore } from 'vuex';

const store = createStore({
	state(){
		return {
			number: 0,
		};
	},

	mutations: {
		add(state){
			state.number += 1;
		},
		sub(state){
			state.number -= 1;
		}
	}
});

export default store;